package com.hbx.dto.role;

import lombok.Data;

import javax.validation.constraints.NotNull;

/*
 * @Author:hbx
 * 
 * */
@Data
public class InsertOrUpdateRoleDto {

    private Integer roleId;

    @NotNull(message = "角色名为必传项")
    private String roleName;

    @NotNull(message = "角色描述为必传项")
    private String roleDesc;

    @NotNull(message = "角色是否可用为必传项")
    private Integer available;
}
